package com.engine.cn.design;

public class Client {
    public static void main(String[] args) {
        Factory factoryM8 = new ConcreteM8();
        Device m8 = factoryM8.product();
        Factory factoryYsh = new ConcreteYsh();
        Device ysh = factoryYsh.product();
    }
}
